import React, { Component } from "react";
import Swiper from "../../components/Swiper";
import Nav from "../../components/Nav";
// 导入租房小组组件
import Group from "../../components/Group";
import News from "../../components/News";

import "./index.scss";

class Index extends Component {
  render() {
    return (
      <div className="homeindex">
        {/* 1.0 轮播图 */}
        <div className="swipe">
          <Swiper></Swiper>
        </div>

        {/* 2.0 导航栏 */}
        <div className="nav">
          <Nav></Nav>
        </div>

        {/* 3.0 租房小组 */}
        <div className="group">
          <Group></Group>
        </div>

        {/* 4.0 新闻列表 */}
        <div className="news">
          <News></News>
        </div>
      </div>
    );
  }
}

export default Index;
